The error message gives you a perfect solution! Follow its instructions to use a built-in troubleshooting tool.
Go to your device's Settings app.
Look for an option called "Get Help" or a similar troubleshooting section.
Select "Check your Network." This tool is designed to diagnose problems and might even be able to fix them automatically for you.